@layout("/backend/common/_container.html"){
<style>
    body{
        margin: 0;
        background: url(/static/common/img/reportBg.png) no-repeat fixed;
        background-size:50%;
        background-position:right 180px center ;
    }
    .reportEles{
        position:absolute;
        top:25%;
        left: 10%;
        width: 400px;
        height:200px;
        text-align: right
    }
    .reportEles  table{
        border-collapse:collapse;
        border-spacing:0;
    }
    .reportEles  table td,th{
        padding:5px;
        color:#000000

    }
</style>
<#Hidden id="hospitalId" value="${hospitalId!}"/>
<#Hidden id="officeMap" value="${officeMap}"/>
<#Hidden id="departMap" value="${departMap}"/>
<div>
    <div class = "reportEles">
        <table cellpadding="5">
            <tr>
                <td>院区</td>
                <td>
                    <input class="hisui-combobox textbox" id="office"/>
                </td>
            </tr>
            <tr>
                <td>科室</td>
                <td>
                    <input class="hisui-combobox textbox" id="depart"/>
                </td>
            </tr>
            <tr>
                <td>报告类型</td>
                <td>
                    <input class="hisui-combobox textbox" id="reportType"/>
                </td>
            </tr>
            <tr class="yearTr">
                <td>年份</td>
                <td>
                    <input id="yearChoose" class="hisui-combobox textbox" ></input>
                </td>
            </tr>
            <tr class="monthTr">
                <td>月份</td>
                <td>
                    <input id="monthChoose" class="hisui-combobox textbox" ></input>
                </td>
            </tr>
            <tr class="quarterTr">
                <td>季度</td>
                <td>
                    <input id="quarterChoose" class="hisui-combobox textbox" ></input>
                </td>
            </tr>
            <tr class="weekTr">
                <td>开始日期</td>
                <td>
                    <input id="startDate" class="hisui-datebox textbox" ></input>
                </td>
            </tr>
            <tr class="weekTr">
                <td>结束日期</td>
                <td>
                    <input id="endDate" class="hisui-datebox textbox" ></input>
                </td>
            </tr>
            <tr>
                <td colspan="2" ><a style = "width:100%;" href="#" id="report" class="hisui-linkbutton" onclick = "AnalysisReport.report()">生成报告</a></td>
            </tr>
            <!--<tr>
                <td colspan="2" ><div style = "width:100%;" id="processbar"></div></td>
            </tr>-->
        </table>
        <div style="padding-top: 5px;text-align: left">
            <span style="color: #FFA500;font-weight:bold;">※注：当年的报告只能在次年生成</span>
        </div>
    </div>
</div>

<!--年报相关图片-->
<div id="recentFiveYearImg" style="width:550px;height:280px;display:none;"></div>
<div id="recentYearImg" style="width:550px;height:280px;display:none;"></div>
<div id="recentYearUpEntity" style="width:550px;height:280px;display:none;"></div>
<div id="recentYearUpLoc" style="width:550px;height:280px;display:none;"></div>
<div id="recentYearRatio" style="width:550px;height:280px;display:none;"></div>
<div id="recentYearUseTime" style="width:550px;height:280px;display:none;"></div>
<div id="in10DaysReportedLocDataTop5Img" style="width:550px;height:280px;display:none;"></div>
<div id="over10DaysNotReportedLocDataTop5Img" style="width:550px;height:280px;display:none;"></div>
<div id="notReportedLocDataTop5Img" style="width:550px;height:280px;display:none;"></div>

<!--季报相关图片-->
<div id="recentQuarterImg" style="width:550px;height:280px;display:none;"></div>
<div id="recentQuarterUpEntity" style="width:550px;height:280px;display:none;"></div>
<div id="recentQuarterUpLoc" style="width:550px;height:280px;display:none;"></div>
<div id="recentQuarterRatio" style="width:550px;height:280px;display:none;"></div>
<div id="recentQuarterUseTime" style="width:550px;height:280px;display:none;"></div>

<script src="${ctxPath}/static/common/js/dateUtil.js"></script>
<script src="${ctxPath}/static/backend/sds/report/report.js"></script>
@}
